package com.service;

import org.springframework.stereotype.Service;

@Service
public class GetAnyNumber {

	
	private double getNumber(){
		return Math.random();
	}
	
	public int getBusinessDetailNumber(){
		int number = (int)(getNumber()*100000000);
		if(number<100000000){
			number = (int)(getNumber()*1000000000);
		}
		return number;
	}
}
